Android 11i(2023) SP1-11i(2024) interface changes

Historical version interface changes

This document describes the modified interfaces and other changes that can affect the compatibility possibly caused by these changes. The interface adjustment aims to provide users a more efficient, powerful, and perfect application.

Interface changes from SuperMap iMobile 11i(2023) SP1 for Android to SuperMap iMobile 11i(2024) for Android.

Change ID Changed content
Module
1.
New Classes

analyst
2.
New Classes

data
3.
New Classes

armap
4.
Datasource adjusts the following classes:

New Interface

  • getRootGroup():Return the root group of the data set group
  • copyDatasetGroup(DatasetGroup srcGroup, DatasetGroup desGroup, String desGroupName):Data set group replication
  • addSteppedListener(SteppedListener l):Add a listener for receiving progress bar events ({@link SteppedEvent SteppedEvent})
  • removeSteppedListener(SteppedListener l):Remove a listener for receiving progress bar events ({@link SteppedEvent SteppedEvent})

Change Interface

  • Consolidate data sets:mergeDatasets(String datasetName, boolean isRetainNewField, DatasetVector...datasetVectors)
    →mergeDatasets(String targetDatasetName, DatasetType datasetType,boolean isSaveNewField, DatasetVector...datasetVectors)
data
5.
Dataset adjusts the following classes:

New Interface

  • getTableName():For the database data source, return the data table name corresponding to this data set in the database; for the file data source, return the table name of the storage attribute of this data set (file data source file uses .udb file storage space data, .udd file storage attribute data)
  • getGroup():Get the group where the dataset is located.
  • addSteppedListener(SteppedListener l):Add a listener for receiving progress bar events
  • removeSteppedListener(SteppedListener l):Remove a listener for receiving progress bar events
data
6.
Environment adjusts the following classes:

Delete Interface

  • setUserExperienceEnable(boolean IsUserExperience):Set whether to turn on the user experience
  • isUserExperienceEnable():Get whether to turn on the user experience
data
7.
ARCalibrateTool.ARMode adjusts the following classes:

New Enumeration

  • ARCORE:GOOGLE ARCORE ENGINE TYPE
  • ARENGINE:HUAWEI ARENGINE ENGINE TYPE
data
8.
DatasourceConnectionInfo adjusts the following classes:

Change Interface

  • Set the request header:setRequestHeader(String value)
    →setRequestHeader(Map<String,String> headers)
data
9.
CloudLicenseManager adjusts the following classes:

Delete Interface

  • applyTrial():Apply for an online trial license
  • getNewMac():Get the mac address through the network interface
  • activeTriaLicense():Activation trial license
data
10.
CloudLicenseManager adjusts the following classes:

New Interface

  • activateLicense(CloudLicense license):Activate license
  • checkLicenseEnable(CloudLicense cloudLicense):Before activation, you can check whether the license is available

Change Interface

  • Return permission:recycleLicense(final String licenseid,final String returnId)
    →recycleLicense(final CloudLicense license)
  • Return to all licenses supported by the account:queryLicense(QueryFormalLicenseResponse queryFormalLicenseResponse)
    →queryLicense(CloudLicenses licenses)
  • License activation callback:activeLicense(String returnId)
    →activeLicense(boolean activeSuccess)
  • Return permission:recycleLicense(int days)
    →recycleLicense(boolean recycleSuccess)
data
11.
EngineType adjusts the following classes:

New Enumeration

  • EngineType.MBTiles:MBTiles service
data
12.
LayerSettingVectorCache adjusts the following classes:

New Interface

  • getSubLayerStyle(String subLayerName):Get the sublayer style
  • getSubLayerTextStyle(String subLayerName):Get the sublayer text style
  • getSubLayerVisible(String subLayerName):Get whether the sublayer is visible
  • getSubLayerType(String subLayerName):Get the sublayer type
  • save():Save the modified style
  • highLightQuery(String subLayerName, String fieldKey, String fieldValue):Attribute query sublayer elements and highlight
  • cleanHighLight(String subLayerName):Clear the sublayer to highlight
  • getType():Get the type of vector layer
mapping
13.
LayerSettingVectorCache adjusts the following classes:

New Enumeration

  • Background:Background
  • Fill:Fill
  • Line:Line
  • Circle:Solid color dot
  • Symbol:Symbol point
  • Text:Text
  • Other:Other
  • UnKnown:UnKnown
mapping
14.
ChartView.OnDataPreparedListener adjusts the following classes:

New Interface

  • onDataPrepared():The callback when the prepareData is completed. Note that the callback is not a UI thread
mapping
15.
map adjusts the following classes:

New Interface

  • setHighPerformSymbolMode(boolean isHighPerformSymbolMode):Set the high-performance symbol rendering mode and filter the symbol rendering according to the number and scale of objects
  • public boolean isHighPerformSymbolMode():Return whether the high-performance symbol rendering mode is high-performance, and filter the symbol rendering according to the number and scale of objects
  • setMVTTop(boolean MVTTop):Set whether the MMT layer is at the top layer
  • public boolean isMVTTop():Return whether the MVT layer is in the top layer, the default value is true
mapping
16.
TrackingLayeradjusts the following classes:

New Interface

  • refresh:Tracking layer refresh
mapping
17.
Navigation2 adjusts the following classes:

New Interface

  • setWeightFieldInfos(WeightFieldInfos infos) :Set the weight field
  • isUseSensorAzimuth():Determine whether the direction of the navigation icon uses the sensor when real navigation
  • setUseSensorAzimuth(boolean useSensorAzimuth):Whether to use the sensor orientation when setting real navigation
  • setSimpleVoiceMode(boolean simpleVoiceMode):Set the voice broadcast to streamlined mode
  • isSimpleVoiceMode():Set the voice broadcast to streamlined mode
  • routeAnalyst(String weightFieldName):Best path analysis
navi
18.
SceneControl.OnUpdateListener adjusts the following classes:

New Interface

  • onUpdate(Point3D point3D):Return to AR space coordinates
realspace
19.
SceneControl adjusts the following classes:

New Interface

  • pauseSession():Suspension of ARSession
  • resumeSession():Restore ARSession
  • getSessionHW():Get ARSession of Huawei AREngine
  • setSessionHW(ARSession session):Set up the ARSession of Huawei AREngine
  • getSession():Get the Session of Google ARCore
  • setSession(Session session):Set up the Session of Google ARCore
  • setFrame(Frame frame):Set up Google ARCore's Frame
  • getFrame():Get the Frame of Google ARCore
  • getFrameHW():Get ARFrame of Huawei AREngine
  • setFrameHW(ARFrame frame):Set up ARFrame for Huawei AREngine
  • setIsManageARSession(boolean isManage) :Set whether SceneControl updates Session
  • getIsManageARSession():Get whether to update Session by SceneControl
realspace